package com.changgou.order.controller;

import com.changgou.core.AbstractCoreController;
import com.changgou.order.pojo.TaskHis;
import com.changgou.order.service.TaskHisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/****
 * @Author:admin
 * @Description:
 * @Date 2019/6/14 0:18
 *****/

@RestController
@RequestMapping("/taskHis")
@CrossOrigin
public class TaskHisController extends AbstractCoreController<TaskHis>{

    private TaskHisService  taskHisService;

    @Autowired
    public TaskHisController(TaskHisService  taskHisService) {
        super(taskHisService, TaskHis.class);
        this.taskHisService = taskHisService;
        }
}
